<template>
	<view>
		<view class="text-nav" >
			<view class="nav-list">
				<u-icon name="level" size="30" color="#18B566"></u-icon>
				{{item2.text_name}}
			</view>
		<!-- 图片内容列表 -->
		<view class="list-image-box" >
			<view class="left-image">
				<image :src="item2.image_name"></image>
			</view>
			<view class="left-text">
				<view class="text-title">
					<view class="text-name-title">
						{{item2.text_name1}}
					</view>

					<view class="access">
						{{item2.number}}
					</view>
				</view>


				<view class="foot">
					{{item2.right}}
				</view>
			</view>
		</view>
	</view>
</view>
</template>

<script>
	export default {
		name: "book-list",
		props:{
			item2:{
				type:Object
			}
		},
		data() {

			return {
	

			};
		}
	}
</script>

<style lang="scss" scoped>
	.text-nav {
		margin: 20rpx;
	
		.nav-list {
			font-size: 30rpx;
			// height: 100rpx;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			padding-left: 20rpx;
	
		}
	
	.list-image-box {

		display: flex;
		margin: 20rpx;
		height: 180rpx;
		background: #EEEEEE;
		border-radius: 10rpx;

		.left-image {
			// display: flex;
			margin-top: 20rpx;

			image {
				width: 100rpx;
				height: 150rpx;
				margin: 0 30rpx;
				border-radius: 10rpx;
			}
		}

		.left-text {
			display: flex;
			flex-direction: column;
			width: 100%;

			.text-title {
				display: flex;
				justify-content: space-between;
				font-size: 30rpx;
				margin-top: 20rpx;
				align-items: center;
				width: 100%;

				.access {
					color: #EB2B35;
					font-size: 30rpx;
					margin: 25rpx;
					padding-right: 20rpx;
				}
			}



			.foot {
				display: flex;
				border: 1px solid gray;
				font-size: 24rpx;
				color: gray;
				background: #F8F8F8;
				border-radius: 20rpx;
				width: 150rpx;
				padding: 5rpx;
				align-items: center;
				justify-content: center;
				margin-top: 20rpx;
				text-align: center;

			}
		}

	}
	}
</style>
